<?php

/*
  VoIP Wholesale 1.0
  ------------------
  Document   : module_external_home
  Created on : Sep 14, 2011, 4:32:27 PM
  Author     : Milos Jovanovic <miloscode@gmail.com>
  Description:

 */
?>
<div id="page-title"><?=lang('term_pricelists_buy')?></div>

<div id="page-desc"><?=lang('text_pricelists_buy_desc')?></div>

<div class="ui-widget"> 
    <div id="content">
        <!-- PAGE CONTENT -->
		<form action="<?=MODULE_SITE_URL?>/home/process" method="post" enctype="multipart/form-data">
			<?php if ($this->session->flashdata('csvmessage')) { echo $this->session->flashdata('message'); } ?>
			<label>Select CSV file to upload</label>
			<input type="file" name="csvfile" />
			<?php if ($this->session->flashdata('xlsmessage')) { echo $this->session->flashdata('message'); } ?>
			<label>Select XSL/XSLX file to upload</label>
			<input type="file" name="xlsfile" />
			<input type="submit" name="submit" value="Upload file" />
		</form>
    </div>    
</div>   